using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MBMC.Dialogs
{
    public partial class TextVstup : Form
    {
        string outp;
        public TextVstup()
        {
            InitializeComponent();
        }

        private void TextVstup_Load(object sender, EventArgs e)
        {

        }

        public int NacitajText()
        {
            this.ShowDialog();
            timer1.Start();
            int ret = 0;
            return ret;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            outp = textBox1.Text;
            button1.Enabled = false;
            textBox1.Enabled = false;
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            if (button1.Enabled == false)
            {

            }
        }
    }
}